<?php
require_once( 'PHPUnit.php' );
require_once( 'cube/controller.php' );
require_once( 'odal/omsdata.php' );

class omsmetadata_Test extends PHPUnit_TestCase{
	var $m_metaData;
	
	function setup(){
		$oOmsData =& new odal_OMSData( "cube.core.data", "oms11neu", 0 );
		$this->m_metaData =& $oOmsData->getMetaData(); 
	}//setup

	function testGetScheme(){
		$oScheme =& $this->m_metaData->getScheme( '/application/opencube/usermanagement', 'Profile' );
		$this->assertEquals( 'Profile', $oScheme->getName() );
	}//testGetScheme


}//omsmetadata_Test
?>
